<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>v-text</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
</head>
<body>
    <div id="app">
        <span v-text="message"></span>
        <br>
        <span v-html="message"></span>
        <br><br>
        <span v-text="message2"></span>
        <br>
        <span v-html="message2"></span>

    </div>
    <script>
        var app=new Vue({
            el:"#app",
            data:{
                message:"hello vue",
                message2:"<h1>hello vue</h1>"
            },
        })
    </script>
</body>
</html>